﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152")]
    public class NetworkInterface : DeviceEntity
    {
        private XmlAttribute[] anyAttrField;
        private bool enabledField;
        private NetworkInterfaceExtension extensionField;
        private NetworkInterfaceInfo infoField;
        private IPv4NetworkInterface iPv4Field;
        private IPv6NetworkInterface iPv6Field;
        private NetworkInterfaceLink linkField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=0)]
        public bool Enabled
        {
            get
            {
                return this.enabledField;
            }
            set
            {
                this.enabledField = value;
            }
        }

        [XmlElement(Order=5)]
        public NetworkInterfaceExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=1)]
        public NetworkInterfaceInfo Info
        {
            get
            {
                return this.infoField;
            }
            set
            {
                this.infoField = value;
            }
        }

        [XmlElement(Order=3)]
        public IPv4NetworkInterface IPv4
        {
            get
            {
                return this.iPv4Field;
            }
            set
            {
                this.iPv4Field = value;
            }
        }

        [XmlElement(Order=4)]
        public IPv6NetworkInterface IPv6
        {
            get
            {
                return this.iPv6Field;
            }
            set
            {
                this.iPv6Field = value;
            }
        }

        [XmlElement(Order=2)]
        public NetworkInterfaceLink Link
        {
            get
            {
                return this.linkField;
            }
            set
            {
                this.linkField = value;
            }
        }
    }
}

